import 'package:fish_redux/fish_redux.dart';
import 'package:hayll_app_village_master/hayll/village_manager/home/village_access_robbit_component/bean/robbit_app_version.dart';
import 'package:hayll_app_village_master/hayll/village_manager/home/village_access_robbit_component/bean/village_access_robbit.dart';
import 'package:hayll_app_village_master/hayll/village_manager/home/village_grid_component/bean/village_grid_response.dart';

class VillageAccessRobbitState implements Cloneable<VillageAccessRobbitState> {
  List<VillageAccessRobbitSimpleResult> robbitList = List();
  List<RobbitAppVersionInfoResult> versions = List();
  int editingDeviceId = -1;

  VillageBuildGridResult build;
  VillageUnitGridResult unit;
  VillageHouseGridResult house;

  @override
  VillageAccessRobbitState clone() {
    return VillageAccessRobbitState()
      ..robbitList = robbitList
      ..build = build
      ..unit = unit
      ..house = house
      ..editingDeviceId = editingDeviceId;
  }
}

VillageAccessRobbitState initState(Map<String, dynamic> args) {
  return VillageAccessRobbitState();
}
